/**
 * author      : dormi330
 * date        : 2018/6/26
 * project     : mybatis
 * description : TODO
 */

package com.deep.trade.adaptor.required;

import org.springframework.stereotype.Service;
import com.deep.trade.infrastructure.utils.CommonUtils;

@Service
public class IdService {

    public static final String TENANT_CODE = "TENANT_CODE";
    public static final String BRAND_ID = "BRAND_ID";

    public static final String MEMBER_ID = "MEMBER_ID";
    public static final String ADDRESS_ID = "ADDRESS_ID";

    // seller1 - shop1 - item1 - (sku1, sku2)
    public static final String SELLER_1_ID = "SELLER_1_ID";
    public static final String SHOP_1_ID = "SHOP_1_ID";
    public static final String ITEM_1_ID = "ITEM_1_ID";
    public static final String SKU_1_ID = "SKU_1_ID";
    public static final String SKU_1_CODE = "SKU_1_CODE";
    public static final String SKU_2_ID = "SKU_2_ID";
    public static final String SKU_2_CODE = "SKU_2_CODE";

    // seller2 - shop2 - item2 - (sku3, sku4)
    public static final String SELLER_2_ID = "SELLER_2_ID";
    public static final String SHOP_2_ID = "SHOP_2_ID";
    public static final String ITEM_2_ID = "ITEM_2_ID";
    public static final String SKU_3_ID = "SKU_3_ID";
    public static final String SKU_3_CODE = "SKU_3_CODE";
    public static final String SKU_4_ID = "SKU_4_ID";
    public static final String SKU_4_CODE = "SKU_4_CODE";

    public String uuid() {
        return CommonUtils.uuid();
    }
}
